package cn.wolfcode.wolf2w.controller;

import cn.wolfcode.wolf2w.util.JsonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;

@RestController
public class TestController {


    @GetMapping("/test1")
    public Object test1(){

        return JsonResult.success("进入了.....");
    }

    @GetMapping("/test2")
    public Object test1(String aa, String bb, String cc, String sign){

        return JsonResult.success("进入了....." + Arrays.asList(aa, bb, cc, sign));
    }
}
